// pages/music/music.js
Page({
  data: {

  },
  onLoad: async function (options) {
    var module = await import("../../utils/urls");
    var res = await module.Music.musicUrl();
    this.setData({list:res.data.data.list});
  },
  toDetail(event){
    var {id} = event.currentTarget.dataset;
    wx.navigateTo({
      url: `/pages/detail/detail?id=${id}`,
    })
  }
})